<template>
	<view class="container">
		<!-- 头部安全距离 -->
		<view class="status_bar"></view>
		<BsinEquityCard v-for="(item,index) in equityList" :key="index" :item="item" @goDetail="goDetail"
			:background="'var(--echo-nft-card-bg-color)'">
		</BsinEquityCard>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				equityList: [{
						name: '免费使用',
						description: '免费使用',
						type: 1
					},
					{
						name: '技术支持',
						description: '技术支持',
						type: 0
					}
				]
			}
		},
		methods: {
			goDetail() {
				uni.navigateTo({
					url: '/pages/Nft/NftEquityDetail'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {

		// 顶部安全距离
		.status_bar {
			height: var(--status-bar-height);
		}

		padding:30rpx;
		box-sizing: border-box;
		min-height: 100vh;
		background-color: $echo-nft-bg-color;
	}
</style>
